import {Customer} from "../../models/Customer";
import {Employee} from "../../models/Employee";
/**
 * Created by Wang on 2017-06-18.
 */

export class Auth{
  static attempt(type:string,name:string,password:string):any{
    if(type == "customer")
    {
      return new Customer;
    }
    else if(type=="employee")
    {
      return new Employee;
    }
  }
}

